home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
bytesc88.arc
/
ISXDIGIT.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
10 lines
/*
** return 'true' if c is a hexadecimal digit
** (0-9, A-F, or a-f)
*/
isxdigit(c) int c; {
return ((c<='f' && c>='a') ||
(c<='F' && c>='A') ||
(c<='9' && c>='0'));
}